package com.inxedu.os.edu.dao;

import com.inxedu.os.edu.pojo.EduCourse;
import com.inxedu.os.edu.pojo.EduCourseExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface EduCourseMapper {
    int countByExample(EduCourseExample example);

    int deleteByExample(EduCourseExample example);

    int deleteByPrimaryKey(Integer courseId);

    int insert(EduCourse record);

    int insertSelective(EduCourse record);

    List<EduCourse> selectByExampleWithBLOBs(EduCourseExample example);

    List<EduCourse> selectByExample(EduCourseExample example);

    EduCourse selectByPrimaryKey(Long courseId);

    int updateByExampleSelective(@Param("record") EduCourse record, @Param("example") EduCourseExample example);

    int updateByExampleWithBLOBs(@Param("record") EduCourse record, @Param("example") EduCourseExample example);

    int updateByExample(@Param("record") EduCourse record, @Param("example") EduCourseExample example);

    int updateByPrimaryKeySelective(EduCourse record);

    int updateByPrimaryKeyWithBLOBs(EduCourse record);

    int updateByPrimaryKey(EduCourse record);
    //课程管理删除（修改上下架）
    int deleteCourseByPrimaryKey(int courseId);
}